|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
> This is impossible with the current POV-Ray SDL because it offers
> self-modifying and self-generating capability.
True, this makes it a bit more difficult.
Another problem is that pov-file may #include itself, which is another
extra twist to take into account when dealing with bytecode.
Speaking of #includes, one thing which may speed up a lot when implementing
bytecode compiling/interpreting would be to have support for pre-compiled
include files. That is, include files may be pre-compiled by the user and
then each time that include file is #included, the already-parsed-and-compiled
version is quickly loaded instead of the original one. This can save a great
deal of parsing and compiling.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|